/* 模拟&机考 */
.container {
  width: 1200px;
  margin: 80px auto 0;
  padding-bottom: 80px;
  ::v-deep .el-breadcrumb__inner.is-link {
    font-weight: normal;
    color: #333;
  }
  ::v-deep .el-breadcrumb__inner.is-link:hover {
    color: #0193ff;
  }
  ::v-deep .el-breadcrumb__inner a:hover {
    color: #0193ff;
  }
  .tableBox {
    width: 1200px;
    height: 847px;
    box-sizing: border-box;
    background-color: #ffffff;
    box-shadow: 0px 0px 8px 0px rgba(231, 231, 231, 0.55);
    border-radius: 5px;
    margin-top: 18px;
    padding: 29px 44px;
    .top {
      padding-bottom: 26px;
      border-bottom: 1px solid #eee;
      margin-bottom: 30px;
      p {
        font-size: 14px;
        color: $color-black;
        margin-right: 34px;
        display: inline-block;
        cursor: pointer;
        &.act {
          color: #0193ff;
          font-weight: 550;
        }
      }
    }
    ::v-deep .el-table th.el-table__cell {
      color: $color-black;
      background: #fafafa !important;
    }
    ::v-deep .el-table .cell {
      text-align: center;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    ::v-deep
      .el-table
      .el-table__row
      td.el-table__cell:nth-child(2n + 2)
      .cell {
      text-align: left !important;
    }
    ::v-deep
      .el-table
      .el-table__row
      td.el-table__cell:nth-child(4n + 4)
      .cell {
      text-align: center !important;
    }
    .table {
      max-height: 700px;
      overflow-y: auto;
      padding-right: 15px;
      // 滚动条样式
      &::-webkit-scrollbar {
        width: 10px;
      }
      // 滚动槽
      &::-webkit-scrollbar-track {
        border-radius: 10px;
        background: #f2f2f2;
        // box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
      }
      // 滚动滑块
      &::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background: #b4bbc5;
        // box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
      }
      .handleBtn {
        width: 102px;
        height: 28px;
        border-radius: 14px;
        font-size: 14px;
        // border: solid 1px #f56705;
        // color: #f56705;
        border: solid 1px #0193ff;
        color: #0193ff;
        text-align: center;
        line-height: 26px;
        margin: 0 auto;
        cursor: pointer;
        // &.beginTest {
        //     background-color: #0193ff;
        //     border-color: #0193ff;
        //     color: $color-white;
        // }
        &.testOver {
          // background: #edf5f0;
          // color: #0193ff;
          // border-color: #edf5f0;
          background-color: #0193ff;
          border-color: #0193ff;
          color: $color-white;
        }
        &:hover {
          // background: #edf5f0;
          // color: #0193ff;
          // border-color: #edf5f0;
          background-color: #0193ff;
          border-color: #0193ff;
          color: $color-white;
        }
      }
      .rankBtn {
        width: 102px;
        height: 28px;
        border-radius: 14px;
        border: solid 1px #0193ff;
        font-size: 14px;
        color: #0193ff;
        text-align: center;
        line-height: 26px;
        margin: 0 auto;
        cursor: pointer;
      }
    }
  }
  .rankDialog {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    .innerCon {
      width: 520px;
      height: 388px;
      box-sizing: border-box;
      background: url('@/assets/images/rankBg.png') no-repeat center;
      background-size: cover;
      border-radius: 10px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      padding: 30px 15px 0px 30px;
      .tit {
        font-size: 18px;
        color: $color-black;
        font-weight: 550;
        text-align: center;
      }
      .list {
        max-height: 287px;
        overflow-y: auto;
        padding-right: 10px;
        margin-top: 20px;
        // 滚动条样式
        &::-webkit-scrollbar {
          width: 10px;
        }
        // 滚动槽
        &::-webkit-scrollbar-track {
          border-radius: 10px;
          background: #f2f2f2;
          // box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        }
        // 滚动滑块
        &::-webkit-scrollbar-thumb {
          border-radius: 10px;
          background: #b4bbc5;
          // box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        }
        .item {
          height: 73px;
          background-color: #e2ebf2;
          border-radius: 5px;
          border: solid 1px #60b0ed;
          display: flex;
          align-items: center;
          padding: 0 10px;
          margin-bottom: 15px;
          .rankNum {
            width: 35px;
            height: 35px;
            display: flex;
            justify-content: center;
            align-items: center;
          }
          &.isMe {
            .rankNum {
              background-color: #f5f5f5;
              border-radius: 15px 15px 0px 15px;
              border: solid 1px #cccccc;
              .inner {
                width: 25px;
                height: 25px;
                border-radius: 10px 10px 0px 10px;
                border: solid 1px #cccccc;
                text-align: center;
                line-height: 25px;
                font-size: 14px;
                color: #999;
              }
            }
          }
          .avatar {
            width: 50px;
            height: 50px;
            background-color: #7fb9e5;
            border-radius: 50%;
            margin: 0 10px;
          }
          .info {
            p {
              font-size: 14px;
              color: #444564;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
              &:last-child {
                color: #999;
                margin-top: 10px;
              }
            }
          }
        }
      }
      .closeBtn {
        position: absolute;
        top: 19px;
        left: auto;
        right: 23px;
        cursor: pointer;
      }
    }
  }
  .dialogBox {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    & > div {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
    .btns {
      width: 350px;
      margin: 20px auto 0;
      display: flex;
      justify-content: space-between;
      button {
        width: 156px;
        height: 36px;
        color: $color-black;
        background-color: #dff8ed;
        border: solid 1px #0193ff;
        border-radius: 5px;
        font-size: $size-common;
        box-sizing: border-box;
        cursor: pointer;
        &:last-child {
          background-color: #0193ff;
          color: $color-white;
        }
      }
    }
    .keyCode {
      width: 480px;
      height: 388px;
      //   background: url('@/assets/images/keyCode.png') no-repeat center;
      background: url('@/assets/images/rankBg.png') no-repeat center;
      background-size: cover;
      padding: 40px 40px 0;
      text-align: center;
      h5 {
        font-size: 16px;
        color: $color-black;
        &.tit {
          font-size: 18px;
        }
      }
      .testDeli {
        width: 399px;
        height: 56px;
        background-color: #dff8ed;
        border-radius: 5px;
        font-size: 16px;
        color: $color-black;
        font-weight: 550;
        text-align: center;
        line-height: 56px;
        margin: 25px 0;
      }
      .codeInput {
        margin: 25px 0 34px;
        position: relative;
        input {
          width: 262px;
          height: 44px;
          margin: 0 auto;
          border-radius: 5px;
          border: solid 1px #0193ff;
          padding: 5px;
          font-size: 23px;
          text-align: center;
          letter-spacing: 6px;
          outline: none;
        }
        span {
          font-size: 14px;
          color: red;
          position: absolute;
          top: auto;
          left: 50%;
          bottom: -24px;
          transform: translateX(-50%);
        }
      }
      .closeBtn {
        position: absolute;
        top: 19px;
        left: auto;
        right: 20px;
      }
    }
    .terms {
      width: 480px;
      height: 544px;
      background-color: #ffffff;
      border-radius: 10px;
      .tit {
        width: 480px;
        height: 56px;
        background-color: #dff8ed;
        border-radius: 10px 10px 0px 0px;
        padding: 0 25px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        h5 {
          font-size: 16px;
          color: #0193ff;
          font-weight: 550;
        }
        .time {
          font-size: 16px;
          color: #0193ff;
          position: relative;
          &::after {
            content: '';
            width: 22px;
            height: 22px;
            background: url('@/assets/images/time.png') no-repeat center;
            background-size: cover;
            position: absolute;
            top: 0;
            left: -32px;
          }
        }
      }
      .info {
        width: 438px;
        height: 348px;
        border-radius: 5px;
        border: solid 1px #0193ff;
        margin: 20px auto 0;
        padding: 10px 12px;
        font-size: $size-common;
        color: $color-black;
        line-height: 30px;
      }
      .agreeBox {
        display: flex;
        align-items: center;
        width: fit-content;
        margin: 22px auto 24px;
        .checkBox {
          width: 18px;
          height: 18px;
          border-radius: 5px;
          border: 1px solid #0193ff;
          display: flex;
          justify-content: center;
          align-items: center;
          margin-right: 10px;
        }
        span {
          font-size: 14px;
          color: #666;
        }
      }
    }
    .tests {
      width: 480px;
      height: 382px;
      background-color: #ffffff;
      border-radius: 10px;
      .tit {
        width: 480px;
        height: 56px;
        background-color: #dff8ed;
        border-radius: 10px 10px 0px 0px;
        font-size: 16px;
        color: #0193ff;
        font-weight: 550;
        text-align: center;
        line-height: 56px;
      }
      .btm {
        padding: 0 10px 0 18px;
        .list {
          height: 218px;
          overflow-y: auto;
          margin-top: 20px;
          padding: 0 8px 4px 0;
          // 滚动条样式
          &::-webkit-scrollbar {
            width: 8px;
          }
          // 滚动槽
          &::-webkit-scrollbar-track {
            border-radius: 4px;
            background: #f2f2f2;
          }
          // 滚动滑块
          &::-webkit-scrollbar-thumb {
            border-radius: 8px;
            background: #b4bbc5;
          }
          .item {
            height: 48px;
            border-radius: 5px;
            border: solid 1px #cccccc;
            padding-left: 19px;
            font-size: 14px;
            color: $color-black;
            line-height: 48px;
            margin-bottom: 22px;
            &:last-child {
              margin-bottom: 0;
            }
            &.choosed {
              border-color: #0193ff;
              color: #0193ff;
            }
          }
        }
      }
    }
  }
}
